<%--
  Created by IntelliJ IDEA.
  User: youqiangyan
  Date: 2021/6/19
  Time: 5:37 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
    <tr bgcolor="#E7E7E7">
        <td height="14" colspan="6" align='center'>&nbsp;用户信息&nbsp;</td>
    </tr>
    <tr align="center" bgcolor="#FAFAF1" height="22">
        <td width="20%">ID</td>
        <td width="20%">姓名</td>
        <td width="20%">年龄</td>

    </tr>
    <c:forEach items="${userList}" var="s">
        <tr align='center' bgcolor="#FFFFFF" height="22">
            <td bgcolor="#FFFFFF" align="center">
                    ${s.id}
            </td>
            <td bgcolor="#FFFFFF" align="center">
                    ${s.name}
            </td>
            <td bgcolor="#FFFFFF" align="center">
                    ${s.age}
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
